package com.lanxin.oa.zu.dao;

import com.lanxin.base.BaseDao;
import com.lanxin.bean.MpCardtype;
import com.lanxin.bean.MpContact;
import com.lanxin.util.PageBean;

import java.util.List;

public interface ZuDao extends BaseDao {
    //查询所有组
    PageBean selectzu(Integer page, Integer pageSize,String type);
    //通过id查询组
    MpCardtype selectzuByid(Integer oid);
    //通过名称查询组
    MpCardtype selectzuBytype(String type,Integer oid);
    //通过组id查找名片里是否有改组
    MpContact selectmp(Integer typeid);

}
